<wicket:panel>
    <div wicket:id="modalWindow"></div>
    <a wicket:id="showModalWindow"><img wicket:id="icon"/></a>
</wicket:panel>